package com.tanger.common.enums;

/**
 *
 * @Description: EnumIsAble
 * @author Hchenbin.
 * @date 2022年03月08日 上午12:22:03
 * @ClassName: EnumIsAble
 *
 */
public enum EnumIsAble implements BasicEnum {

	yes("可用",1),
    no("不可用",0);
    private final String name;
    private final int value;

    public int getValue(){
        return value;
    }
    public String getName() {
        return name;
    }

    EnumIsAble(String name, int value) {
        this.name = name;
        this.value = value;
    }

    /*
     * (非 Javadoc) <p>Title: serial</p> <p>Description: </p>
     * @return
     * @see com.baseframework.commons.enums.EnumBasic#serial()
     */
    @Override
    public Integer getSerial() {
        // TODO Auto-generated method stub
        return this.value;
    }
}
